<?php

class Zend_View_Helper_User extends Zend_View_Helper_Abstract
{
    private $_obj = null;

    public function user()
    {
        return $this;
    }

    public function setUser($obj)
    {
        $this->_obj = $obj;
    }

    public function nomeCompleto()
    {
        return ucwords(strtolower("{$this->_obj->firstName} {$this->_obj->lastName}"));
    }

    public function login()
    {
        return ucwords(strtolower("{$this->_obj->userName}"));
    }

}